package it.unibo.convoycruisecontrol.chiefboatsubsystem.test.mock;

import it.unibo.convoycruisecontrol.chiefboatsubsystem.NavigationInfoReceiver;
import it.unibo.location.ILocation;
import it.unibo.location.LocationDevice;
import it.unibo.util.information.InformationConverter;

public class MockNavigationInfoReceiver extends NavigationInfoReceiver {

	public MockNavigationInfoReceiver(int boatsNumber, LocationDevice locationDevice, InformationConverter informationConverter) throws Exception
	{
		super(boatsNumber, locationDevice, informationConverter);
	}
	
	@Override
	public void extractInfo(String message) throws Exception {
		super.extractInfo(message);
	}
	
	public ILocation[] getLocations()
	{
		return locations;
	}
	
	public float[] getSpeeds()
	{
		return speeds;
	}
	
	public int getLastInfoReceived()
	{
		return lastInfoReceived;
	}

	@Override
	public void newInformations() 
	{
		// Si veda test dei subject: DistanceSupervisor, MapManager, StartSupervisor e TimingSupervisor
	}

}
